package com.ruoyi.qiuyue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 秋月用户对象 music_user
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class MusicUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 账户 */
    @Excel(name = "账户")
    private String account;

    /** 密码 */
    private String password;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 头像 */
    @Excel(name = "头像")
    private String headImg;

    /** 是否管理员 */
    @Excel(name = "是否管理员")
    private Boolean admin;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Boolean del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setHeadImg(String headImg) 
    {
        this.headImg = headImg;
    }

    public String getHeadImg() 
    {
        return headImg;
    }
    public void setAdmin(Boolean admin) 
    {
        this.admin = admin;
    }

    public Boolean getAdmin() 
    {
        return admin;
    }
    public void setDel(Boolean del) 
    {
        this.del = del;
    }

    public Boolean getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("userName", getUserName())
            .append("headImg", getHeadImg())
            .append("createTime", getCreateTime())
            .append("admin", getAdmin())
            .append("del", getDel())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
